package com.jjb.www.http.api;

import com.hjq.http.annotation.HttpIgnore;
import com.hjq.http.config.IRequestApi;

/**
 * @author CRG
 * @date :2023/12/14 16:06
 * @description:
 */
public class CertificateDetailsApi implements IRequestApi {

    @HttpIgnore
    private String certificate_id;

    public CertificateDetailsApi setCertificate_id(String certificate_id) {
        this.certificate_id = certificate_id;
        return this;
    }

    @Override
    public String getApi() {
        return "/api/teach/v2/cert/downloadCert/"+ certificate_id;
    }

    public static class Bean {
        private String url;
        private String img_url;
        private Integer is_download;

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getImg_url() {
            return img_url;
        }

        public void setImg_url(String img_url) {
            this.img_url = img_url;
        }

        public Integer getIs_download() {
            return is_download;
        }

        public void setIs_download(Integer is_download) {
            this.is_download = is_download;
        }
    }
}
